<div>
        <?php echo CHtml::link('问题列表', array('ask/index'), array('class' => 'btn btn-default')) ?>
        <?php echo CHtml::link('热门问题', array('ask/hotAsk'), array('class' => 'btn btn-default')) ?>

        <?php if ($this->isIndex) : ?>
            <a href="#new-ask" class="btn btn-default" onclick="scrollToNewAsk()"><?php echo "新的提问"; ?></a>
        <?php else : ?>
            <?php echo CHtml::link('新的提问', array('ask/index', '#' => 'new-ask'), array('class' => 'btn btn-default')); ?>
        <?php endif; ?>
</div>
<div class="clear"></div>
